package headfirstjava;

public class PlayerTest {
    public static void main(String[] args) {
        System.out.println(Player.playerCount);
        Player one = new Player("Tiger Woods");
        System.out.println(Player.playerCount);
        System.out.println(one);
    }
}

class Player {
    static int playerCount = 0;
    protected String name;

    public Player(String n) {
        name = n;
        playerCount++;
    }
}